﻿using Comain;
using IRepository;
using IService;

namespace Service
{
    public class UserInfoSerive : IUserInfoService
    {
        private readonly IUserInfoRepository<UserInfo> dal;

        public UserInfoSerive(IUserInfoRepository<UserInfo> dal)
        {
            this.dal = dal;
        }
        public dynamic Show()
        {
            return dal.GetAll();
        }
    }
}
